Exception while accessing database
am 02.06.2010 20:23:57 von Manohar Bhattarai--0016e68ded48a3763d048810324e
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Hi,
This problem was initially asked to pgsql-jdbc@postgresql.org and I was
suggested to ask this problem here.
So my initial problem was that i was not able to set the Driver for
postgresql. I solved that problem with the help there.
But I have a new exception and it is :
org.postgresql.util.PSQLException: FATAL: password authentication failed fo=
r
user "postgres"
I am giving the line for connection that i am using :
connection =3D DriverManager.getConnection(connectionURL, "postgres",
"mypasswordhere");
But the password is the same that i use to login postgres user in the
terminal.
What could be the problem?
I am using (Linux)Ubuntu 8.04 as OS, Postgresql is 8.3, java is jdk1.6,
using Eclipse as IDE, and trying to make a project in jsp.
My problem is that I had installed postgresql8.3 successfully. and after
some search on the google gave me some configuration details which i
followed. But I am not able to understand how to start creating a new user
and a new database after a fresh installation of postgres.
Can you provide me with come details to how to create a new user and new
database after a new installation of postgres?
If you need any more details i will provide them. Please help me solve this
problem.
--=20
Regards,
Manohar Bhattarai (मनà¥à¤¹à¤° à¤=AD=
à¤à¥à¤à¤°à¤¾à¤)
Blogs:
http://manoharbhattarai.wordpress.com/
http://manoharbhattarai.posterous.com/
http://manoharbhattarai.blogspot.com/
Microblogs:
Twitter :- http://twitter.com/manoharmailme
Identi.ca :- http://identi.ca/manoharbhattarai
--0016e68ded48a3763d048810324e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
k this problem here.
et the Driver for postgresql. I solved that problem with the help there. iv>
ze:13px;border-collapse:collapse">But I have a new exception and it is :
g.postgresql.util.PSQLException: FATAL: password authentication failed for =
user "postgres"
stgres", "mypasswordhere");
password is the same that i use to login postgres user in the terminal. iv>
m using (Linux)Ubuntu 8.04 as OS, Postgresql is 8.3, java is jdk1.6, using =
Eclipse as IDE, and trying to make a project in jsp.
er some search on the google gave me some configuration details which i fol=
lowed. But I am not able to understand how to start creating a new user and=
a new database after a fresh installation of postgres.
eate a new user and new database after a new installation of postgres? >
m. Please help me solve this problem.
--
Regards,
Manohar Bhattarai (मनà¥à¤¹=
र à¤à¤à¥à¤à¤°à¤¾à¤ =88)<=
br>Blogs:
_blank">http://manoharbhattarai.wordpress.com/
oharbhattarai.posterous.com/" target=3D"_blank">http://manoharbhattarai.pos=
terous.com/
http://=
manoharbhattarai.blogspot.com/
Microblogs:
Twitter :- http://twitter.com/manoharmailme" target=3D"_blank">http://twitter.com/mano=
harmailme
Identi.ca :- ">http://identi.ca/manoharbhattarai
--0016e68ded48a3763d048810324e--